package com.gp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * tb_advertise
 * @author 
 */
@ApiModel(value="com.zks.entity.Advertise广告位")
@Data
@TableName(value = "tb_advertise")
public class Advertise implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    /**
     * 轮播位置
     */
    @ApiModelProperty(value="轮播位置")
    private Long positionId;

    private String pic;

    private Date startTime;

    private Date endTime;

    /**
     * 上下线状态：0->下线；1->上线
     */
    @ApiModelProperty(value="上下线状态：0->下线；1->上线")
    private Integer status;

    /**
     * 点击数
     */
    @ApiModelProperty(value="点击数")
    private Integer clickCount;

    /**
     * 下单数
     */
    @ApiModelProperty(value="下单数")
    private Integer orderCount;

    /**
     * 链接地址
     */
    @ApiModelProperty(value="链接地址")
    private String url;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String note;

    /**
     * 排序
//     */
    @ApiModelProperty(value="排序")
    private Integer sort;

    private static final long serialVersionUID = 1L;
}